package com.demo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserDTO", description="UserDTO")
public class UserDTO {
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户昵称，不同用户的昵称可以相同")
    private String nickname;

    @ApiModelProperty(value = "手机号码,登陆凭证")
    private String phoneNum;

    @ApiModelProperty(value = "头像图片url")
    private String avatar;
}
